/*
 * @Descripttion: 
 * @version: 
 * @Author: TT
 * @Date: 2023-09-07 09:48:53
 * @LastEditors: TT
 * @LastEditTime: 2023-10-26 16:47:50
 */

import 'package:flutter/material.dart';
import 'package:hzy_project_template/config/config_index.dart';

class AppConfig {
  static String version = "1.0.0";
  static String appName = "";
  static String appNameZh = "火之夜";
  static String appNameEn = "Night of fire";
}

class PageNormalConfig {
  // static PageNormalConfig get instance => _instace;
  // static final PageNormalConfig _instace = PageNormalConfig._();

  /// 配置全局 导航栏字体颜色
  Color? appBarTextColor;

  /// 配置全局 返回按钮颜色
  Color? leadingIconColor;

  /// 配置全局 Scall 背景颜色
  Color? scallBackgroudColor;

  /// 配置全局 加载动画
  Widget? loadingWidget;

  /// 配置全局 导航栏背景颜色
  Color? navBackgroundColor;

  /// 初始化
  PageNormalConfig() {
    appBarTextColor = HzyCommonColor().col000000;
    leadingIconColor = HzyCommonColor().col000000;
    scallBackgroudColor = HzyCommonColor().backgroudgrey;
    // // loadingWidget = configLoadWidget();

    navBackgroundColor = HzyCommonColor().whitebackgroundColor;
  }
}
